package com.aistar.repository;

import com.aistar.pojo.CommentImages;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface CommentImagesRepository extends MongoRepository<CommentImages,Integer> {
    public List<CommentImages> findByCommentId(Integer commentId);
    public List<CommentImages> findAllByCommentIdAndCommentImagesStatus(Integer commentId,Integer status);


}
